package com.woniu.cq.medical.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author Lucas
 * @since 2020-09-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("lonbon_act_order")
public class ActOrder implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 医嘱表
     */
    @TableId(value = "act_order_id", type = IdType.AUTO)
    private Integer actOrderId;

    /**
     * 病人id
     */
    private String patientName;

    /**
     * 病例id
     */
    private Integer caseId;

    /**
     * 医嘱类型（长期，短期，临时）
     */
    private String actOrderType;

    /**
     * 医嘱内容
     */
    private String actOrderResult;

    /**
     * 医嘱创建时间
     */
    private Date actOrderCreatTime;

    /**
     * 医嘱开始执行时间
     */
    private Date actOrderStartTime;

    /**
     * 结束时间
     */
    private Date actOrderEndTime;

    /**
     * 医生id
     */
    private Integer doctorId;

   private String patientSex;

   private int patientAge;

   private String patientIdCard;


}
